﻿<%@ control language="C#" autoeventwireup="true" codebehind="searchcontrol.ascx.cs"
	inherits="flickrNSurface.Web.usercontrols.searchcontrol" %>
<%@ Register src="photosets.ascx" tagname="photosets" tagprefix="uc1" %>
<span>User email:
	<asp:textbox runat="server" id="EmailTextBox" />
	<asp:requiredfieldvalidator id="requiredValidator" runat="server" errormessage="Please provide and email address."
		controltovalidate="EmailTextBox" setfocusonerror="True"></asp:requiredfieldvalidator>
	<asp:regularexpressionvalidator id="emailValidator" runat="server" errormessage="Invalid email format."
		controltovalidate="EmailTextBox" setfocusonerror="True" validationexpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator>
	<br />
	<asp:button runat="server" id="SearchButton" text="Find Photosets" onclick="SearchButton_Click" />
	<hr />
	<uc1:photosets id="Sets" runat="server" />
</span>
